package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.SpikeActive;
import com.addplus.townmall.server.api.model.town.SpikeActiveShop;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 类名: SpikeActiveExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/10/18 3:00 PM
 * @description 类描述: 首页秒杀活动实体类出参类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SpikeActiveExpand extends SpikeActive implements Serializable {

    private static final long serialVersionUID = -4801948353835592325L;

    private List<SpikeActiveShop> spikeActiveShopList;

    private SpikeActiveShop spikeActiveShop;

    /**
     * 剩余总秒数
     */
    private Long surplusSecond;

    // 距离抢购开始剩余小时
    private Long laveHour;

    // 距离抢购开始剩余分钟
    private Long laveMin;

    // 距离抢购开始剩余秒
    private Long laveSec;
    //秒杀日期
    private Date day;
}
